


import request from '@/axios';
import { baseUrl } from '@/config/env';


// 景区中心-景区管理-景区列表-新增
export const scenicAreaCenterInfoAdd = (data) => request({
    url: baseUrl + '/scenicAreaCenter/scenicAreaCenterInfo/add',
    method: 'post',
    data
});
// 景区中心-景区管理-景区列表-修改
export const scenicAreaCenterInfoUpdate= (data) => request({
    url: baseUrl + '/scenicAreaCenter/scenicAreaCenterInfo/update',
    method: 'post',
    data
});
// 景区中心-景区管理-景区列表-列表
export const scenicAreaCenterInfoList= (data) => request({
    url: baseUrl + '/scenicAreaCenter/scenicAreaCenterInfo/list',
    method: 'post',
    data
});
// 景区中心-景区管理-景区列表-删除
export const scenicAreaCenterInfoDelete = (id) => request({
    url: baseUrl + `/scenicAreaCenter/scenicAreaCenterInfo/delete/${id}`,
    method: 'get'
});


// 景区中心-景区管理-景区推荐-新增
export const scenicAreaRecommendationAdd = (data) => request({
    url: baseUrl + '/scenicAreaCenter/scenicAreaRecommendation/add',
    method: 'post',
    data
});
// 景区中心-景区管理-景区推荐-修改
export const scenicAreaRecommendationUpdate= (data) => request({
    url: baseUrl + '/scenicAreaCenter/scenicAreaRecommendation/update',
    method: 'post',
    data
});
// 景区中心-景区管理-景区推荐-获取所有景区
export const scenicAreaInfoAllList= () => request({
    url: baseUrl + '/scenicAreaCenter/scenicAreaRecommendation/scenicAreaInfoAll',
    method: 'get'
});
// 景区中心-景区管理-景区推荐-删除
export const scenicAreaRecommendationDelete = (id) => request({
    url: baseUrl + `/scenicAreaCenter/scenicAreaRecommendation/delete/${id}`,
    method: 'get'
});
// 景区中心-景区管理-景区推荐-列表
export const scenicAreaRecommendationList= (data) => request({
    url: baseUrl + '/scenicAreaCenter/scenicAreaRecommendation/list',
    method: 'post',
    data
});